package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.OrdersForbid;
import com.ytjj.qmyx.admin.model.OrdersForbidExample;
import java.util.List;

import com.ytjj.qmyx.admin.model.request.OrdersForbidPageRequest;
import com.ytjj.qmyx.admin.model.response.OrdersForbidResponse;
import org.apache.ibatis.annotations.Param;

public interface OrdersForbidMapper {
    long countByExample(OrdersForbidExample example);

    int deleteByExample(OrdersForbidExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrdersForbid record);

    int insertSelective(OrdersForbid record);

    List<OrdersForbid> selectByExample(OrdersForbidExample example);

    OrdersForbid selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrdersForbid record, @Param("example") OrdersForbidExample example);

    int updateByExample(@Param("record") OrdersForbid record, @Param("example") OrdersForbidExample example);

    int updateByPrimaryKeySelective(OrdersForbid record);

    int updateByPrimaryKey(OrdersForbid record);

    /**
     * 获取锁单信息
     */
    OrdersForbidResponse getLockOrderInfo(OrdersForbid orderInfoId);

    /**
     * 获取锁单列表
     */
    List<OrdersForbidResponse> getLockOrderList(OrdersForbidPageRequest request);


}